import requests


headers = {
    "referer": "https://list.vip.com/",
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"
}
cookies = {
    "mars_cid": "1730200307022_0b066eb8f05d44c8ccdcbf64f0f4a223",
    "mars_sid": "6f1af3031fbf971e4e683a3b1fbfde16",
    "vip_address": "%257B%2522pid%2522%253A%2522104101%2522%252C%2522cid%2522%253A%2522104101101%2522%252C%2522pname%2522%253A%2522%255Cu6cb3%255Cu5357%255Cu7701%2522%252C%2522cname%2522%253A%2522%255Cu90d1%255Cu5dde%255Cu5e02%2522%257D",
    "vip_province": "104101",
    "vip_province_name": "%E6%B2%B3%E5%8D%97%E7%9C%81",
    "vip_city_name": "%E9%83%91%E5%B7%9E%E5%B8%82",
    "vip_city_code": "104101101",
    "vip_wh": "VIP_HZ",
    "vip_ipver": "31",
    "vip_tracker_source_from": "",
    "pc_fdc_area_id": "104101101",
    "pc_fdc_source_ip": "1",
    "mars_pid": "0",
    "visit_id": "EB3920D5209F52B654720D00ED22F05F",
    "vip_access_times": "%7B%22list%22%3A8%2C%22detail%22%3A3%7D",
    "vipshop_passport_src": "https%3A%2F%2Fdetail.vip.com%2Fdetail-1710613359-6919775459035392143.html%3Ftfs_url%3D%252F%252Fmapi.vip.com%252Fvips-mobile%252Frest%252Fshopping%252Fpc%252Fdetail%252Fmain%252Fv6%23J-FW-prdComment",
    "_jzqco": "%7C%7C%7C%7C%7C1.534893038.1730250231735.1730250231735.1730250241736.1730250231735.1730250241736.0.0.0.2.2",
    "tfs_fp_token": "BcoOSWxnFGJqOkXOzLV8wMlr754JqowHPu8umHA3lTpwR+G3KHiY2Y/Jrwspg15JlmxmzMFm5oZl6ZnqvgSuI5A%3D%3D",
    "tfs_fp_timestamp": "1730250241920",
    "PASSPORT_ACCESS_TOKEN": "F2BB4B9D1B7A9A80F6D0FF5706A4BA9A9C9BE489",
    "VipRUID": "474100651",
    "VipUID": "9bb5bae998d27857a27d26644ab06688",
    "VipRNAME": "ph_*****************************3dc",
    "VipDegree": "D1",
    "user_class": "c",
    "VipUINFO": "luc%3Ac%7Csuc%3Ac%7Cbct%3Ac_new%7Chct%3Ac_new%7Cbdts%3A0%7Cbcts%3A0%7Ckfts%3A0%7Cc10%3A0%7Crcabt%3A0%7Cp2%3A0%7Cp3%3A1%7Cp4%3A0%7Cp5%3A0%7Cul%3A3101",
    "VipDFT": "-2",
    "VipLID": "0%7C1730250384%7C3af9db",
    "pg_session_no": "13",
    "waitlist": "%7B%22pollingId%22%3A%22FC435040-6092-4D02-8AAC-00693D9F8404%22%2C%22pollingStamp%22%3A1730251190175%7D",
    "sfl_d": "0"
}
url = "https://mapi.vip.com/vips-mobile/rest/shopping/pc/rule/product/filters/v1"
params = {
    "app_name": "shop_pc",
    "app_version": "4.0",
    "warehouse": "VIP_HZ",
    "fdc_area_id": "104101101",
    "client": "pc",
    "mobile_platform": "1",
    "province_id": "104101",
    "api_key": "70f71280d5d547b2a7bb370a529aeea1",
    "user_id": "474100651",
    "mars_cid": "1730200307022_0b066eb8f05d44c8ccdcbf64f0f4a223",
    "wap_consumer": "c",
    "mtmsRuleId": "53986307",
    "fields": "brandStore,category,props,vipService",
    "categoryId": "",
    "brandStoreSns": "",
    "salePlatform": "1",
    "tfs_fp_token": "BcoOSWxnFGJqOkXOzLV8wMlr754JqowHPu8umHA3lTpwR+G3KHiY2Y/Jrwspg15JlmxmzMFm5oZl6ZnqvgSuI5A==",
    "_": "1730251191414"
}
response = requests.get(url, headers=headers, cookies=cookies, params=params)
print(response.text)
print(response)
